<page-header title="渠道管理" [breadcrumb]="breadcrumb">
  <ng-template #breadcrumb>
    <ql-breadcrumb>
      <ql-breadcrumb-item>营销管理</ql-breadcrumb-item>
      <ql-breadcrumb-item>渠道管理</ql-breadcrumb-item>
    </ql-breadcrumb>
  </ng-template>
</page-header>
<page-container>
  <!--selection="multiple" -->
  <data-table [model]="channelList" (selection-change)="onCheckChange($event)" selection="multiple">
    <ql-table-column model-key="channelName" label="渠道"></ql-table-column>
    <ql-table-column model-key="circuitDays" label="时间周期(天)"></ql-table-column>
    <ql-table-column model-key="sendTime" label="发送次数"></ql-table-column>
    <ql-table-column label="渠道控制">
      <ng-template #slot let-scope="scope">
        <!-- <ql-button type="text">数据维护</ql-button> -->
        <!--        <ql-button type="text" [routerLink]="['/mar/customer-detail']">详情</ql-button>-->
        <ql-button type="text" (click)="close('1')">关闭</ql-button>
        <ql-button type="text" (click)="open('1')">打开</ql-button>
        <ql-button type="text" (click)="delete('1')">删除</ql-button>
      </ng-template>
    </ql-table-column>
  </data-table>
</page-container>
